package com.kaede.hayate.modules.sys.mapper;

import com.kaede.hayate.modules.sys.entity.UserRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Kaede
 * @since 2018-06-05
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {
    void deleteByUserId(Long userId);
    void deleteByRoleId(Long roleId);
}
